package com.firstgroup.dms.mapper;

import com.firstgroup.dms.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface EmployeeMapper {
    List<Employee> selectAll();

    Employee getById(@Param("id") Integer id);

    int insert(Employee employee);

    int update(Employee employee);

    int deleteById(@Param("id") Integer id);

    List<Employee> getByCondition(Employee condition);

    Long getCount(Employee condition);
}